<?php
/**
 * Created by PhpStorm.
 * User: zhangrongxiang
 * Date: 2018/1/26
 * Time: 下午10:18
 */

/* Set internal character encoding to UTF-8 */
mb_internal_encoding("UTF-8");
/* Display current internal character encoding */
echo mb_internal_encoding().PHP_EOL; // UTF-8

mb_internal_encoding("GBK");
echo mb_internal_encoding().PHP_EOL; //CP936
mb_internal_encoding("CP936");
echo mb_internal_encoding().PHP_EOL; //CP936

mb_internal_encoding("iso-8859-1");
echo mb_internal_encoding().PHP_EOL; //ISO-8859-1



